Amazon Insights SDK

The Amazon Insights SDK allows a developer to request variations and record events. The SDK requires the following AndroidManifest.xml permissions:

     <uses-permission android:name="android.permission.INTERNET"/>
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     
In addition to these permissions, the following service must be declared in AndroidManifest.xml:
     <service android:name="com.amazon.insights.InsightsProcessingService" />
     
This service batches and uploads events in the background to minimize data use and battery consumption.

Once AndroidManifest.xml has been updated, the SDK requires initialization before it can be used. (This is most likely performed in the onCreate method of the app.)

To initialize the SDK, refer to AmazonInsights.
To request treatments for an AB Test, refer to ABTest.
To create and record events, refer to CustomEvent.
To update a UserProfile for use with Segmentation refer to UserProfile.